docker pull elasticsearch:7.6.2

docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.6.2

访问 http://localhost:9200/

docker pull kibana:7.6.2

docker run -d --name kibana -p 5601:5601 --link elasticsearch:elasticsearch kibana:7.6.2

http://localhost:5601/
